package chapter10;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/4/13 13:46
 */
class NMA {
    private void f() {

    }

    class A {
        private void g() {

        }

        public class B {
            void h() {
                g();
                f();
            }
        }

    }

}

public class MultiNestingAccess {
    public static void main(String[] args) {
        NMA nma = new NMA();
        NMA.A nmaa = nma.new A();
        NMA.A.B nmaab = nmaa.new B();
        nmaab.h();
    }
}
